import request from "@/utils/request";

export function login(username, password) {
  return request({
    url: "/login",
    method: "post",
    data: {
      username,
      password
    }
  });
}



export function logout() {
  // return request({
  //   url: '/user/logout',
  //   method: 'post'
  // })
  return new Promise(resolve => {
    resolve();
  });
}








